// import com.alibaba.druid.sql.ast.SQLExpr;
// import com.alibaba.druid.sql.dialect.mysql.visitor.MySqlASTVisitor;

#include "MySqlShowCreateEventStatement.h"
#include "../../../../ast/SQLExpr.h"
#include "../../visitor/MySqlASTVisitor.h"

void MySqlShowCreateEventStatement::accept0(MySqlASTVisitor_ptr visitor)
{
  if (visitor->visit(SharedObject(MySqlShowCreateEventStatement)))
  {
    acceptChild(visitor, eventName);
  }
  visitor->endVisit(SharedObject(MySqlShowCreateEventStatement));
}

SQLExpr_ptr MySqlShowCreateEventStatement::getEventName()
{
  return eventName;
}

void MySqlShowCreateEventStatement::setEventName(SQLExpr_ptr eventName)
{
  this->eventName = eventName;
}
